package com.ruoyi.finance.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 凭证字对象 t_voucher_word
 * 
 * @author ruoyi
 * @date 2025-02-22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TVoucherWord
{
    /** 凭证字主键 */
    @Excel(name = "凭证字主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 凭证字 */
    @Excel(name = "凭证字")
    private String name;

    /** 显示标题 */
    @Excel(name = "显示标题")
    private String title;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private Long defaultType;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createId;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改人
     */
    @TableField(fill = FieldFill.UPDATE)
    private Long updateId;
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 逻辑删除
     */
    @TableField(fill = FieldFill.INSERT)
    private Long deleteType;

}
